package com.silverhaze.diamond.client.settings.ui.service;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import java.util.Date;

/**
 * Created by Ivan Babanin (22:53:44 30.05.2008)
 * This part of code is strictly confidential.
 * © Magnificent Software Inc.
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
public class ServicePanelSettings {
    private boolean timeEnabled;
    private boolean fieldEnabled;

    private boolean inServiceEnabled;
    private boolean completedEnabled;

    private Date from;
    private Date till;

    public boolean isTimeEnabled() {
        return timeEnabled;
    }

    public void setTimeEnabled(boolean timeEnabled) {
        this.timeEnabled = timeEnabled;
    }

    public boolean isFieldEnabled() {
        return fieldEnabled;
    }

    public void setFieldEnabled(boolean fieldEnabled) {
        this.fieldEnabled = fieldEnabled;
    }

    public boolean isInServiceEnabled() {
        return inServiceEnabled;
    }

    public void setInServiceEnabled(boolean inServiceEnabled) {
        this.inServiceEnabled = inServiceEnabled;
    }

    public boolean isCompletedEnabled() {
        return completedEnabled;
    }

    public void setCompletedEnabled(boolean completedEnabled) {
        this.completedEnabled = completedEnabled;
    }

    public Date getFrom() {
        return from;
    }

    public void setFrom(Date from) {
        this.from = from;
    }

    public Date getTill() {
        return till;
    }

    public void setTill(Date till) {
        this.till = till;
    }
}

